﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MoneyWentWhere.DataModel.Binding
{
    public class AccountTypeConverter : StringTypeConverter<Account>
    {
        protected override string ToString(Account value)
        {
            return value.Name + " (" + value.Currency + ")";
        }

        protected override Account FromString(string rep)
        {
            throw new NotImplementedException();
        }
    }
}
